package experiment.utils;

public enum ResultMsgEnum {
	
		SUCCESS(10000,"成功"),
		SERVICE_ERROR(2,"服务错误，请稍后再试"),
		SENDER_NOT_EXIST(3,"付款账户不存在"),
		RECIPIENT_NOT_EXIST(3,"收款账户不存在"),
		BLANCE_NOT_ENOUGH(4,"账户余额不足");

	   private Integer code;
	   private String msg;
	 
	   ResultMsgEnum(Integer code, String msg) {
	        this.code = code;
	        this.msg = msg;
	    }
	 
	    public Integer getCode() {
	        return code;
	    }
	 
	    public String getMsg() {
	        return msg;
	    }
    
}
